char** FizzBuzz(int n, int* returnSize) {
    char** answer = (char**)malloc((sizeof(char*) * (n)));
    char* arr = (char*)malloc(sizeof(char) * n * 9);
    *returnSize = n;
    int i = 0;
    for (i = 0; i < n; i++)
    {
        answer[i] = &arr[i * 9];
    }
    for (i = 1; i <= n; i++)
    {
        if (i % 3 == 0 && i % 5 == 0)
        {
            answer[i - 1] = "FizzBuzz";
        }
        
        else if (i % 3 == 0)
        {
            answer[i - 1] = "Fizz";
        }
        else  if (i % 5 == 0)
        {
            answer[i - 1] = "Buzz";
        }
        else
        {
            sprintf(answer[i - 1], "%d", i);
        }
        printf("\"%s\" ", answer[i - 1]);
    }
    return answer;
}

int main()
{
    int n = 0;
    scanf("%d",&n);
    FizzBuzz(n, &n);
    return 0;
}